package com.jewelry.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName t_product
 */
@TableName(value ="t_product")
@Data
public class Product implements Serializable {
    /**
     * 
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    /**
     * 
     */
    @TableField(value = "product_name")
    private String productName;

    /**
     * 
     */
    @TableField(value = "`desc`")
    private String desc;

    /**
     * 
     */
    @TableField(value = "price")
    private Double price;

    /**
     * 
     */
    @TableField(value = "jprice")
    private Double jprice;

    /**
     * 
     */
    @TableField(value = "stock")
    private Integer stock;

    /**
     * 
     */
    @TableField(value = "sale")
    private Integer sale;

    /**
     * 
     */
    @TableField(value = "category_id")
    private Integer categoryId;

    /**
     * 
     */
    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 
     */
    @TableField(value = "color")
    private String color;

    /**
     * 
     */
    @TableField(value = "weight")
    private BigDecimal weight;

    /**
     * 
     */
    @TableField(value = "Material")
    private String material;

    /**
     * 
     */
    @TableField(value = "Purity")
    private String purity;

    /**
     * 
     */
    @TableField(value = "Craftsmanship")
    private String craftsmanship;

    /**
     * 
     */
    @TableField(value = "Certification")
    private String certification;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}